import i18n from '@/lang'
// special: true
export const statisticsEcuTbColumns = [

  {
    title: i18n.t('partNumber'),
    dataIndex: 'partNumber',
    scopedSlots: { customRender: 'partNumber' },
    width: '10%'
  },
  {
    title: i18n.t('partName'),
    dataIndex: 'name',
    scopedSlots: { customRender: 'name' },
    width: '10%'
  },
  {
    title: i18n.t('partSN'),
    dataIndex: 'sn',
    scopedSlots: { customRender: 'partSN' },
    width: '10%'
  },
  {
    title: i18n.t('relatedVersion'),
    scopedSlots: { customRender: 'versionList' },
    special: true,
    width: '7%'
  },
  {
    title: i18n.t('relatedModel'),
    scopedSlots: { customRender: 'modelList' },
    special: true,
    width: '7%'
  },
  {
    title: i18n.t('softDid'),
    dataIndex: 'softwareDid',
    scopedSlots: { customRender: 'softwareDid' }
  },
  {
    title: `${i18n.t('diagnosis')}ID`,
    dataIndex: 'nodeAddress',
    scopedSlots: { customRender: 'nodeAddress' }
  },
  {
    title: i18n.t('OS'),
    dataIndex: 'platform',
    scopedSlots: { customRender: 'platform' }
  },
  {
    title: i18n.t('manufacturer'),
    dataIndex: 'supplier',
    scopedSlots: { customRender: 'supplier' }
  },
  {
    title: i18n.t('timeOfCreation'),
    dataIndex: 'createTime',
    width: '8%',
    scopedSlots: { customRender: 'createTime' },
    special: true
  },
  {
    title: i18n.t('creator'),
    dataIndex: 'createBy',
    width: '7%',
    scopedSlots: { customRender: 'creator' }
  }
]
